<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #p1{color: red}
        .c1{color: yellow}
        h3,#p1,.c1{background-color: blue}
        input[type="text"]{background-color: aqua}
        input[type="password"]{color: darkblue}
        *{border: 1px solid}
    </style>
</head>
<body>
<input type="text">
<input type="password">
<h3>我是h3</h3>
<p id="p1">苹果</p>
<p class="c1">香蕉</p>
<p>橘子</p>
<div>冰箱</div>
<div class="c1">洗衣机</div>
<div>电视</div>
</body>
</html>